package com.yenlien.traceyun.plant.entity;

import com.yenlien.traceyun.business.entity.TraceScanEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 田间管理投入品关联表
 *
 * @author maybe
 * @date 2020年7月24日
 */
@Entity
@Table(name = "t_plant_farm_inputs")
//@Trace(appName = "plant",stepName = "farmInputs", parentStepName = "farm", order = 3, ended = false)
public class FarmInputs extends TraceScanEntity {
    @Column
    private String inputsId;        //投入品ID
    @Column
    private String farmId;            //田间管理ID
    @Column
    private String breedName;        //品名
    @Column
    private String spec;            //规格
    @Column
    private String specUnits;        //规格单位
    @Column
    private String useNumber;        //使用量
    @Column
    private String units;            //单位
    @Column
    private String supply;            //供应商
    @Column
    private String buyTime;            //购买时间
    @Column
    private String type;            //类型(施肥、除草、病虫害)

    public String getInputsId() {
        return inputsId;
    }

    public void setInputsId(String inputsId) {
        this.inputsId = inputsId;
    }

    public String getFarmId() {
        return farmId;
    }

    public void setFarmId(String farmId) {
        this.farmId = farmId;
    }

    public String getBreedName() {
        return breedName;
    }

    public void setBreedName(String breedName) {
        this.breedName = breedName;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getSpecUnits() {
        return specUnits;
    }

    public void setSpecUnits(String specUnits) {
        this.specUnits = specUnits;
    }

    public String getUseNumber() {
        return useNumber;
    }

    public void setUseNumber(String useNumber) {
        this.useNumber = useNumber;
    }

    public String getUnits() {
        return units;
    }

    public void setUnits(String units) {
        this.units = units;
    }

    public String getSupply() {
        return supply;
    }

    public void setSupply(String supply) {
        this.supply = supply;
    }

    public String getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(String buyTime) {
        this.buyTime = buyTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
